/**
 * @desc
 * @author  刘贺[of2220]
 * @company qianmi.com
 * @Date    2017/2/7
 */
"use strict";

import "babel-polyfill";
import React from 'react';
import ReactDOM from  'react-dom';

import appStore from './store';
import {mixins}  from 'iflux';

import Container from './components/container';

let App = React.createClass({
    mixins: [mixins.StoreMixin(appStore, false)],
    render(){
        return <Container store={appStore.data()}/>
    }
});

ReactDOM.render(<App/>, document.getElementsByTagName('body')[0]);